<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			var zh=prompt();
			var mm=prompt();
			if(zh=="zhangsan"&&mm=="666666"){
				document.write("登录成功");
			}
			else if(zh!=="zhangsan"&&mm!=="666666"){
				document.write("用户名和密码输入错误");
			}else if(mm!="666666"){
				document.write("密码输入错误");
			}
			else if(zh!="zhangsan"){
				document.write("用户名输入错误");
			}else{
			    document.write("系统错误，请联系管理员");
			}
			
		</script>
	</body>
</html>
